package main

import (
	"fmt"
	"time"
)

func main() {
	// t := time.NewTicker(2 * time.Second)
	// for {
	// 	fmt.Println(<-t.C)
	// }

	t := time.NewTimer(2 * time.Second)
	for {
		fmt.Println(<-t.C)
	}
}
